package com.wms.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
@ApiModel("货位")
public class StoreLocation{
   @ApiModelProperty(value = "货位id")
   private int id;
   //所属仓库
   @ApiModelProperty(value = "所属仓库id")
   @NotNull
   private int storeId;
   //仓库名称
   @ApiModelProperty(value = "所属仓库名称")
   private String storeName;
   //所属库区
   @ApiModelProperty(value = "所属库区id")
   @NotNull
   private int areaId;
   //库区名称
   @ApiModelProperty(value = "所属库区名称")
   private String areaName;
   //货位名称
   @ApiModelProperty(value = "货位名称")
   @NotNull
   private String locationName;
   //备注
   @ApiModelProperty(value = "备注")
   private String note;
}
